<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>cia-notifier for google project hosting on mercurial</title>
    </head>
    <body>
        <h1>Add a project</h1>
        <p>Note that you must be using Google Project Hosting with a Mercurial repository to use this service.</p>
        <p>To start, get a <a href="http://cia.vc/">CIA.vc</a> account and create a project with the same name as appears on your project site.</p>
        <p>Then go to your googlecode page and setup web hooks to be directed at this url, and use the auth key to fill out this form:</p>
        <form action="new_project.html" method="post" accept-charset="utf-8">
            <label>Project name (as seen on the project hosting site): <input type="text" name="name"></label><br>
            <label>Post-Commit Authentication Key (look in Administer->source): <input type="text" name="secret_key"></label><br>
            <p><input type="submit" value="Add this Project"></p>
        </form>
        <p>Make sure you have an irc bot setup to watch your projects!</p>
        <h2>Projects using this service</h2>
        <ul>
            {% for project in projects %}
                <li><a href="http://code.google.com/p/{{project.name}}">{{project.name}}</a> last updated {{project.last_update}}</li>
            {% endfor %}
        </ul>
    </body>
</html>